import request from "@/utils/request";

const GENERATOR_BASE_URL = "/client";

const AnnouncementApI = {
  /** 新增客户端联系我们 */
  getAnnouncementList(data: any) {
    return request<any, any>({
      url: `${GENERATOR_BASE_URL}/announcement/list`,
      method: "get",
      params:data,
    });
  },


  /** 客户端查询公告详情 + 增加公告已读记录 */
  getAnnouncementDetail(data: any) {
    return request<any, any>({
      url: `${GENERATOR_BASE_URL}/announcement/detail`,
      method: "get",
      params:data,
    });
  },
};

export default AnnouncementApI;


